package com.zr.serviceimpl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zr.dao.BaseDao;
import com.zr.dao.UserDao;
import com.zr.model.Cuser;
import com.zr.service.UserService;

import net.sf.json.JSONObject;
@Service("userService")
public class UserServiceImpl implements  UserService{
    
	@Resource
	private  UserDao<Cuser>  userDao;

	@Override
	public Cuser findUserByUrootAndUpsw(String uroot, String upsw) {
		
		return userDao.getUserByUrootAndUpsw(uroot, upsw);
	}
	
	


}
